Mark the layout as changed
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Jun 2019 22:51:28 +0000 (22:51 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Jun 2019 23:10:11 +0000 (00:10 +0100)
We should mark the layout as changed when
constraints are added or removed.

gtk/gtkconstraintlayout.c

index 52c6f86bfab3321e85dcd6fb242072860a53f32e..658298d35efce3d5f40c8d7db07362d8396fcf95 100644 (file)
@@ -1408,6 +1408,8 @@ gtk_constraint_layout_add_constraints_from_descriptionv (GtkConstraintLayout *la
 
   gtk_constraint_vfl_parser_free (parser);
 
+  gtk_layout_manager_layout_changed (GTK_LAYOUT_MANAGER (layout));
+
   return res;
 }